﻿package com.event 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author imi
	 */
	public class PublicEvent extends Event 
	{
		public static const RESTART:String 	= "restart";			//重新开始
		public static const START:String 	= "start";				//开始
		public static const BACK:String 	= "back";				//返回主菜单
		
		
		
		private var _data:Object = null;
		public function PublicEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false):void
		{
			_data = data;
			super(type, bubbles, cancelable);
			
		}
		
		public function get data():Object 
		{
			return _data;
		}
	}
}